﻿using System;

namespace Co9320.NamaAlert.Engine.Feeder
{
	public enum ErrorLevel : byte
	{
		Tribial = 0x01,
		Light = 0x02,
		Intermediate=0x03,
		Heavy = 0x04
	}

	public class RssFeedingException:System.ApplicationException
	{
		public RssFeedingException(string message,ErrorLevel level, Exception innerException)
			:base(message,innerException)
		{
			this.Level = level;
		}

		public RssFeedingException(string message,ErrorLevel level)
			:this(message,level,null)
		{
		}



		public ErrorLevel Level
		{
			get;
			private set;
		}

	}
}
